import request from '@/utils/request'

// 查询业务组件参数版本表列表
export function listBusinessComponeParametersVersion(query) {
  return request({
    url: '/business/businessComponeParametersVersion/list',
    method: 'get',
    params: query
  })
}

// 查询业务组件参数版本表详细
export function getBusinessComponeParametersVersion(id) {
  return request({
    url: '/business/businessComponeParametersVersion/' + id,
    method: 'get'
  })
}

// 新增业务组件参数版本表
export function addBusinessComponeParametersVersion(data) {
  return request({
    url: '/business/businessComponeParametersVersion',
    method: 'post',
    data: data
  })
}

// 修改业务组件参数版本表
export function updateBusinessComponeParametersVersion(data) {
  return request({
    url: '/business/businessComponeParametersVersion',
    method: 'put',
    data: data
  })
}

// 删除业务组件参数版本表
export function delBusinessComponeParametersVersion(id) {
  return request({
    url: '/business/businessComponeParametersVersion/' + id,
    method: 'delete'
  })
}
